Automattic\WooCommerce\GoogleListingsAndAds\Google\GlobalSiteTag S

Total Complexity 30
Dependencies 10
Dependents 1
Total lines 492
Lines of code 316
Logical lines of code 106
Comment lines 77
Methods 13
Properties 6

Methods 13

Method Rating Maintainability Complexity Lines of code
maybe_display_conversion_and_purchase_event_snippets()
A
39 7 79
display_page_view_event_snippet()
S
48 4 40
register_assets()
S
51 3 31
register()
S
50 2 35
display_view_item_event_snippet()
S
54 2 26
register_js_for_fast_refresh_dev()
S
56 2 21
activate_global_site_tag()
S
60 2 16
is_first_time_customer()
S
62 2 11
product_data_hooks()
S
57 1 20
display_global_site_tag()
S
61 1 18
is_needed()
S
71 2 6
__construct()
S
69 1 7
add_product_data()
S
70 1 6